// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

// // form表单星号位置
// .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before,
// .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before {
//   content: '';
//   margin: 0;
// }

// .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:after,
// .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:after {
//   content: '*';
//   color: #F56C6C;
//   margin-left: 4px;
// }

// form labe 粗细
.el-form-item .el-form-item__label {
  font-weight: normal;
}

// 确定/取消 交换位置，确定在左边
.el-message-box__btns {
  display: flex;
  flex-flow: row-reverse;

  >button {
    margin-left: 15px;
  }
}

// icon
[class*="el-icon-"] {
  cursor: pointer;
  margin-left: 5px;
}

// 统一弹窗宽度
.el-dialog {
  width: 600px;
}

.lg-dialog {
  .el-dialog {
    width: 1000px;
  }
}

.sm-dialog {
  .el-dialog {
    width: 450px;
  }
}

.el-tabs {
  .el-tabs__item {
    padding: 0;
    min-width: 200px;
    text-align: center;
  }
}

.el-tooltip__popper {
  max-width: 200px;
}


.el-dialog__body {
  padding: 20px;
  line-height: 20px;
}

.el-dialog__footer {
  .dialog-footer {
    .el-button+.el-button {
      margin-left: 15px;
    }
  }
}

.el-message-box__wrapper {
  .el-message-box__status {
    font-size: 14px !important;
  }
}

// 统一el-tabs
.el-tabs {
  .el-tabs__header {
    margin: 0px;
    margin-bottom: 20px;
  }

  .el-tabs__item {
    padding: 0;
    font-size: 16px;
    min-width: 200px;
    text-align: center;
  }

  .el-tabs__active-bar {
    height: 1px;
  }

  .el-tabs__nav-wrap::after {
    height: 1px;
  }
}

.input-with-select {
  .el-input-group__append {
    background-color: transparent;
    padding: 0;
    width: 70px;
    height: 30px;
    overflow: hidden;
  }

  .el-input-group__append button.el-button {
    background-color: transparent;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    border-radius: 0
  }

  .el-input-group__append button.el-button:hover {
    background-color: #e9f5ff;
  }

  .el-input-group__append .el-button.is-disabled,
  .el-input-group__append .el-button.is-disabled:hover {
    background-color: #F5F7FA;
  }
}